//
//  CCProgressView.h
//  didiAnimation
//
//  Created by iOS app dev on 17/2/21.
//  Copyright © 2017年 007qilv. All rights reserved.
//

#import <UIKit/UIKit.h>

//开始动画
typedef void(^block_progress_start)();

//动画正在进行
//@pram NSTimerInterval

typedef void(^block_progress_animing)(NSTimeInterval);

//动画结束
typedef void(^block_progress_stop)();


@interface CCProgressView : UIView
{

    NSTimeInterval _animationTime;

}

@property (nonatomic,strong) UILabel *centerLabel;  //中心Label

@property (nonatomic, copy) block_progress_start start;  //动画开始回调
@property (nonatomic, copy) block_progress_animing animing;  // 动画进行
@property (nonatomic, copy) block_progress_stop stop;        // 动画结束回调

- (void) setAnimationTime:(NSTimeInterval)animationTime;

- (void)startAnimation;

- (void)stopAnimation;

@end
